import logging
import requests
import re
from DrissionPage import  Chromium

logging.basicConfig(
    level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s"
)


def get_logger(name):
    return logging.getLogger(name)


session = requests.session()


def get_safe_name(name):
    return re.sub(r"[^\w]", "_", name)[:20]

browser = Chromium()
